update function eh-ebib