Regenerate db