Add filter by lastUpdate to Api function