Update tray.c