Added mechanism to update db schema