fixing cascade update issue