added expansion func for updating poitns