Updated the way contacts are handled. Updated contacts refreshing logic