main ui update