update to version 0.5.04 from android port