Updated input binding logic.

Updated input binding code logic, also now whenever any input is changed
entire row is re-binded.