luacy update: optimizations