update workspace and add event log