update php cookbook