update layout for user interface