refactored rake task to use ModelWatcher.synchronize