updates binary types