Missed update of return value

Missed the return value