updating image uploading