update schema after mearge