changed the data modal and finish first version of image retrieving