adding pics to the database