Table now pulls from DB now adding push to DB

Im pretty wasted at the moment but this seems to be working ok. Next
step is successfully pushing to the database