update to work with rails 4 strong parameters