added edit function for asset