add editing to existing records