updated like/dislike logic