Methods getCurrent and  updateCurrent were implemented