update GetContext in WorkContextExtensions