Added update function in maintain_points module