Update graphics resource
Fix a target bug