Updating resources to handle resource_id's
finish first pass at resource update.