Add refresh function to points