update schema to have indexes