Updating sql stage list