update web and code layout