Add refresh command

Hiya! Here's a nice and simple PR for the refresh function. :boom: