syntax fixes to previous update2