Fix: Update of type was not working.