update resource\ fix bug