updated schema and updated program