curl code in update and create is now the real code send by jquery , so you can test it on the console