recreate database work