update genesis and config