Php script for updating contacts