update mecha dependency to 0.5.0