Add synchronous support to update_lig