finish add and update comments with ajax