save new pictures in databases