remove resource from repo