update sections in code