Sleep when relation changed and install some new packages