UPDATE PYRAMID SCRIPT