added indexes to database columns