update cerdentials