Automatically Change Deal Name upon creation

Automatically Change Deal Name upon creation

I'm looking to automatically update the Deal Name to be called "Deal Name + Custom Auto Populated Number"  

I'm new to ZOHO, but after reading a few articles I thought this would do it:

mp=map();
mp.put("Deal_Name",name);
update=zoho.crm.updateRecord("Deals",name, mp);
info mp;
info update;

Update Arguments for name="custom auto number"

-------------------

I'm probably pretty far off as I can't get it to do anything.  

Help would be very appreciated.  Thanks.