use ruby block to refresh admin public key