add a watcher in sandbox api