Implementing Ltotal insert,update and delete operations on LocalDatabase