Fix selfupdate.
Fix deploy test.