update data to jpg files