Update location based on the period not forever