Update type, function color; Update previews