making commiting and replacing in tables possible