change the event firing to on sync