update coop function