Zend certified PHP/Magento developer

How to update table with model collection

I am trying to update customer_entity table. But I am doing a left join with customer_address_entity. I want to update the group_id only when store_id matches to my customer variable.

Is this possible?