Updates the spec