Add basid insert and update implementation

Basic whitespace cleanup - tab and space confusion