modify the main ui