updating focus control