Update function on readme