Changes in controller files.Bug fix for edit by Priti