synchronize the ui components