update to use status codes and update readme