updated style and added regular refresh