use mongodb
add register cmd
add update loc