first try for updatejoint.

Signed-off-by: Thomas Helmke <thomas.helmke@gmx.de>