logic of contact sync was changed to avoid adding multiple value in database and also avoid to send null value.