Removed url based checking for dataset edit ... now checking action and controller
Using correct function for storing taxonomy.