update multi-points function hook