regex for updating creds