updating certificates