added set table function to pnacl module