Add and remove lines of <table> and add of 2 tables on database