lambda method style update