add remove record handler