implemented refresh with minimum 10 second refresh