Updated refresh function & styles