optimize sequel store wrap_block