update MiyoJS Ghost and events