DAO upgrade

Added several methods for deleting, inserting and updating DB