update to rev 0.4