Replaced release script with update function