fixed issues with update_svrl function