fix the update url in the save method to use input instead of @input