changed association between candidate & contract + candidates#update for API