changed scope to update on refresh