update the config and update the remote dao method to make it work