Before editing schema