update display method and disable enter