Fixed the methods to add value on table.