Update Credential.java