change operation for privilege and create jugglingdb adapter