update on init