on-focus updated