fix crash and update flow