update build flashable (added cleanup)