adapt create/update style to view style, #6