update with speration between binary and metadata