Improved table rest api