Pictures update to database