update script, personality code