replaced resouce update event with more generalized event system to notify ui of in game events.