update: fix errors