add updating and deleting data in tables