ajax call to update image information