update window border
update window style
update window style