The database is updated when a table is moved however there's a problem with my maths somewhere as the tables aren't loaded back to the same positions. Also, there is a weird content duplication bug after moving.