update return value for refresh query