add picture codes and update resource