updated imageid, and set it as a static variable in Utils.