update type error