update layout with nav