latestAnswer() from chainlink is deprecated and can return stale data.
Use latestRoundData() instead of latestAnswer(). Also, adding checks for additional fields returned from latestRoundData() is recommended. E.g.
