updated the comments controller