updated trust and keystore