some fixes for input updating, abstracting updating UI