added preconditiion to changeset