update handwritten closed types