improvements and forgotten update instruction