Fixes the no update on type bug.