update lamda syntax