Fix UI and add smileyUpdate function