CR-10 firmware upgrade with mega 2560?

Hello everyone, I'm sorry if this topic has been discussed somewhere else but I have seen a few videos like this how to upgrade Marlin firmware to CR-10 printer with arduino uno but my question is: can it be done with arduino mega 2560?
I have watched this video where it is somehow explained but there were comments that it won't work with the newer arduino software.
So please, if you can point me to a site or write it down how to correctly use the procedure to load a bootloader on the cr-10 board with the atmega1284p chip I would be most greatful.
Thank you very much. :slight_smile: