update lambda struct