finish add new record feature