added refresh on change