add put and update_config  unit test