update compile example