new database schema and added stripslashes