Fixes cast updating bug