Updates to associated records using nested_attributes now works, needs refactoring