fix update at startup