finish add, update, delete application