update input binding method