test update and empty return fix