updating shema