Updating the deformed image