hiding update and delete for attachments and comments