implemented refresh sql statement
Merge pull request #568 from crate/m/refresh_impl

implemented refresh sql statement