Added delegate method to notify when updating passcode failed