The GM deal gave union members some job security , while allowing GM to hire new non-production workers at lower wages and benefits and establish a trust for retiree health-care from which both the UAW and GM expect to benefit .