overwrite changeProduct function;change get images url from images to photo;add some function API