implemented refresh action