Update egg logic