update layout with color palette