change photo model to be ready for mongohq db