add idNumber and modify appoint flow