Updated constraints
Updating constraints
Adding bool value to upvote method. Messed up without it