Added refresh before release behaviour
Added refresh before release behaviour