edit index => class container