praveen|making productactive flag to true on save
praveen|populating category as part of create