Fixed edit image function names. Refactored to 'update'