fixed a few bugs

fixed: clear styles in page when removed
fixed: styles are able to be updated even it's up to date