updated the ui layout