update to 0.5-stable