implemented refresh sql statement

docs will be added when crash is able to run refresh commands