bulk_update function added, plus onclick function added to lag.html