saving picture to the data base