adding functions that will be used to update the forecast