model with uploading photos