call function refresh without event