use NID to change db name