public void updateStaff(){
		Scanner sc = new Scanner(System.in);
		boolean bol = false;
		do{
			System.out.println("Enter the ID of the staff who need to be update:");
			int employee_id = inputInteger();
			Staff toUpdateStaff = staffManager.getStaffbyID(employee_id);
			System.out.println("Choose which one to update:\n\t1.Staff's Name\n\t"
					+ "2.Staff's Gender\n\t3.Staff's Job Title\n\t4.Back");
			switch(inputInteger()){
			   case 1:
				   System.out.println("Enter the new name");
				   String newName = sc.nextLine();
				   toUpdateStaff.setStaffName(newName);
				   break;
			   case 2:
				   System.out.println("Enter the correct Gender (m for male, f for female): ");
                   String gender;
                   boolean corrGender;
                   while (true) {
                       gender = sc.next();
                       if (gender.equals("m") || gender.equals("f")) {
                           corrGender = gender.equals("m");
                           break;
                       }
                       System.out.print("Invalid gender, try again: ");
                   }

				   toUpdateStaff.setGender(corrGender);
				   break;
			   case 3: 
				   System.out.println("Enter the new Job Title:");
				   String newJobTitle = sc.nextLine();
				   toUpdateStaff.setJobTitle(newJobTitle);
				   break;
			   case 4:
				   break;
			}
			System.out.println("Update one more staff?('y' to continue)");
			bol =sc.next().equals("y");
			sc.nextLine();
		}while(bol);
	}