add change image functionality