added onclick refresh