contacts functionality update