update max script
update render type
update search