no one uses render update anymore
move style tests to renderer
add setAttributes helper