fix: update the UI when seting the val manually