Update creating binary logic