mega2560 update

trim rework