updates UI patterns