updated worker to migrate couchdb basic security