update to fix errors