It's worth reading the News channel to get info about the latest releases of Node-RED (and any issues).
This is what you need to do to update to the latest release of Node-RED running on a Raspberry Pi.