updates to S