add batch op, change db /key to key