updated gifthub code for new event