updated input block