Started adding update resource method