update helpers code example