Updating selling cost with ajax request