rename compile_update -> add_method