refresh signals and slots