updated secretkey field