lambda and math updates