update to work with latest registry patterng