add votes to the model of photo
voteup system