update comments in the lua code