update function for zookeys