updating bufferid seq properly after migration to postgres