bugfixes and initial update ui hook