1. update ui resources.