Do you mean you are trying to upgrade your phone from Windows Phone 8 to Windows Phone 8.1? The update should be available via phone update. If you don't get it that way, you should try to download the latest image using Windows Device Recovery Tool.