edited the validation for asset name and asset type