update comment delete button check