updates to tray class