removed data validation in photo model