renaming and updating image