added pledge model and updated schema