Update and creat comments functions