changeing password with 4x4 matrix keypad

Hi, everybody. I have a problem with keypad I do not understand how is it possible to change password.
I wanted to use code like this but it has error. Please help me.

#include <LiquidCrystal.h>
#include <Password.h> //http://www.arduino.cc/playground/uploads/Code/Password.zip
#include <Keypad.h> //http://www.arduino.cc/playground/uploads/Code/Keypad.zip

Password password = Password( "1234" ); //says the password is 1234

const byte ROWS = 4; // Four rows
const byte COLS = 4; //  columns
// Define the Keymap
char keys[ROWS][COLS] = {
  {'<','9','8','7'},
  {'^','6','5','4'},
  {'/','3','2','1'},
  {'k','K','0','M'}
};

byte rowPins[ROWS] = { 7,6,1,0 };// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.
byte colPins[COLS] = { 13,10,9,8, };// Connect keypad COL0, COL1 and COL2 to these Arduino pins.


// Create the Keypad
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
LiquidCrystal lcd(12,11,5,4,3,2);

void setup(){
  Serial.begin(9600);
  lcd.begin(20,4);
  lcd.print("Enter your code:"); 
  keypad.addEventListener(keypadEvent); //add an event listener for this keypad
}

void loop(){
  keypad.getKey();
}

//take care of some special events
void keypadEvent(KeypadEvent eKey){
  switch (keypad.getState()){
    case PRESSED:
        Serial.println(eKey);
	switch (eKey){
	  case 'k': checkPassword(); break;
	  case 'M': password.reset(); break;
          case 'K': passwordChange(); break;
	  default: password.append(eKey);
     }
  }
}

void checkPassword(){
  if (password.evaluate()){
    lcd.clear();
    lcd.print("Acsess granted");
    //Add code to run if it works
  }else{
    lcd.clear();
    lcd.print("Acsess denied");
    //add code to run if it did not work
  }
  password.reset();
  delay(1000);
  setup();
}

void passwordChange()
{
  int eKey = keypad.getKey();
  if(eKey == 'K')
  {
    password(eKey);
  }
  else if (eKey == 'k') setup();
}

Mikk Kruusalu

It would help to know what the error is.

Hello, the error what it shows me is:

Password_Keypad_lcd.ino: In function 'void passwordChange()': Password_Keypad_lcd:70: error: no match for call to '(Password) (int&)'

It is telling you that you do not have a function named password in your sketch What ispassword(eKey);supposed to do ?

Please post me a code for chancing password. And please use there password library.

I do not have the password library and I have never used it but at http://playground.arduino.cc/Code/Password I see

Functions set(password)

Set the target password equal to password.

Warning: The new password should be a global variable (not a local function variable) as this function copies a pointer to the new password into the library, not a copy of the password.

Thanks a lot. :)