Draft version of ajax (update of selling cost)