updating comments controller