updates number of comments when deleting a comment