Schema and update logic fixes