updates schema for db