add upload image functionality