update UIs and merge main page buttons