Update credential