Setting response codes, update to route