update restart unicorn mechanism