Added function to changing value in table.