Added functionality for updating GPS locations