add success and fail to command response