refresh implemented on python, no UI or testing