update layout
finish layout and routes