Edited updatescript