Bug fix. Update method and create were not consistant. Ajax was calling the wrong url