edit index and stryle