Fixed duplicate ID problem.

- Still need testing with Rebind of Models.
- Change, update table dynamically