updated joint table
added joint table
working change joint table