Interface and databases inserts and updates working