add update script for the image