update credentials files