added an option to disable mass assignment