update rebuild to new api
1.0.5