update entities' indexes
added new page tempalte, test servlet