use nested_params method instead of object_params