writing rake task for sharedconnections update