modify db and get function to fit new MX-cloud collection rule
modify put_id function to fit new db format