Pointed db update script to primary