Add indexes and upgrade steps.