update to latest substanced code