update contacts and gallery