update, finish main page