update edit Image Function in cmt_update