edit and remove records