Update user interface.