fix for apply updates