Updated contacts query