update of credentials